<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <title>Title</title>
  <!-- <link rel="stylesheet" href="stylesheets/reset.css"> -->
  <link rel="stylesheet" href="stylesheets/index.css">
</head>
<body>

<!-- 
beforeCreate()
h1 = document.createElement("h1")
h1.innerText = msg
created()
beforeMount()
$("#app").append(h1)
mounted()

msg = "xxx"
diff 在虚拟 dom 找修改的node
beforeUpdate()
h1.innerText = msg
updated()

//
h1.remove()
//
-->
<div id="app">
	
	<h1>{{ msg }}</h1>
	<!-- <h2>{{ testProp }}</h2> -->
	<hr>
	<counter></counter>
	
</div>




<script src="./vue.js"></script>
<script src="./index.js"></script>
</body>
</html>
